package com.bw.mapper;

import com.bw.bean.Student;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SugarMapper {
    @Select("select  * from  student")
    public List<Student> finAll();
    @Select("select  * from  student where id=#{id}")
    public Student findById( Integer id);
}
